<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <input id="c-order_id" class="form-control" name="row[order_id]" type="hidden" value="">
    <input id="c-refundTo" class="form-control" name="row[refundTo]" type="hidden" value="0">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <label>请选择取消订单申请退款的原因，以便我们能更好的为您服务。</label>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Orderno')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input disabled id="c-orderNo" data-rule="required" class="form-control" name="row[orderNo]" type="text" value="{$row.orderNo}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refundreson')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-refundReson" data-rule="required" class="form-control selectpicker" name="row[refundReson]">
                {foreach name="refundresonList" item="vo"}
                <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group frm-refundOtherReson hidden">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refundotherreson')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-refundOtherReson" class="form-control" name="row[refundOtherReson]" rows="3"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Backmoney')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-backMoney" data-rule="required" class="form-control" step="0.01" name="row[backMoney]" data-max="{$row.realTotalMoney}" data-max="0.01" type="number" value="0.00">
            (金额大于等于0，且不超过<font color='red'>¥{$row['realTotalMoney']}</font>)
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Backscore')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input disabled id="c-backScore" data-rule="required" class="form-control" step="0.01" name="row[backScore]" type="number" value="{$row.useScore}">
            ({:__('Scoremoney')}<font color='red'>￥{$row["scoreMoney"]})</font>)
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
